export default () => {
  return async (ctx: any, next) => {
    //ctx.socket.emit("r", "you has connected1");
    console.log('packewt',ctx.socket.nickname);
    console.log('------');
    await next();
  };
};
